package com.yanfei.zero.infrastructure.db;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

import com.yanfei.zero.application.DbService;
import com.yanfei.zero.domain.user.model.EventStore;
@Service
public class MemDb extends DbService<EventStore>{
	
    private List<EventStore> events = new ArrayList<>();
    
	@Override
	public void save(EventStore event) {
		events.add(event);
	}
}
